//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.tool.utils;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

public class PageTotalResult implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long total;
    Collection<?> rows;

    public PageTotalResult() {
        this.total = 0L;
        this.rows = null;
    }

    public PageTotalResult(List<Map<String, Object>> list) {
        this.total = new Long((long)list.size());
        this.rows = list;
    }

    public PageTotalResult(List<Map<String, Object>> list, Integer total) {
        this.total = new Long((long)list.size());
        this.rows = list;
    }

    public Long getTotal() {
        return this.total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Collection<?> getRows() {
        return this.rows;
    }

    public void setRows(Collection<?> rows) {
        this.rows = rows;
    }
}
